﻿@{
    Layout = null;
}
<!DOCTYPE html>
<html>
<head>
    <title>用户登录</title>
    <style type="text/css">
        #wrapper
        {
            position: absolute;
            top: 50%;
            left: 50%;
            margin: -150px 0 0 -175px;
            width: 350px;
            height: 300px;
        }
        body
        {
            background: #EEEEEE;
        }
    </style>
</head>
<body>
    <div id="wrapper">
        <div class="title">
            <h3>
               User Log in</h3>
        </div>
        <div class="logon">
            @using (Html.BeginForm("Login", "System"))
            {
                <table>
                    <tr>
                        <td>
                            UserID:
                        </td>
                        <td>@Html.TextBox("UserName")
                        </td>
                    </tr>
                    <tr>
                        <td>
                            Password:
                        </td>
                        <td>
                            @Html.Password("Password")
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" style="text-align: center">
                            <input style="border: 1px solid black" type="submit" name="login" value="登录" />
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2" style="color: Red">
                            @Html.ValidationSummary()
                        </td>
                    </tr>
                </table>
            }
            @*@Html.ActionLink("Forget Password?", "Reset")*@
        </div>
    </div>
</body>
</html>
